package com.sci.config;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

import org.apache.log4j.Logger;

import com.alibaba.fastjson.JSONObject;
import com.sci.web.model.genmodel.SysEnums;

public class MyConstants {
	
	public static JSONObject json  = new JSONObject();
	public static Logger log=Logger.getLogger("-SCI-");
	
	public static final String PIC_SUFFIX = "jpg,jpeg,bmp,gif,png";

	public static final String FILE_PATH_ADMIN = "admin"+File.separator+"media"+File.separator;
	public static final String FILE_PATH_ADMIN_CUT = "admin"+File.separator+"cut"+File.separator;
	public static final String FILE_PATH_ADMIN_THUMB = "admin"+File.separator+"thumb"+File.separator;
	public static final String FILE_PATH_GETEWAY = "FileManage"+File.separator+"gateway"+File.separator;
	public static final String FILE_PATH_GETEWAY_THUMB = "FileManage"+File.separator+"gateway"+File.separator+"thumb"+File.separator;
	public static final String FILE_PATH_FULLAVATAR= "FileManage"+File.separator+"fullavatar"+File.separator;

	
	
	
	public static  List<SysEnums> enumList = new ArrayList<SysEnums>();
	
	
	  // 接口返回状态码
    public static final String CODE_SUCCESS = "200";
    public static final String CODE_FAILURE = "201";

    // 接口返回描述
    public static final String DESC_SUCCESS = "success";
    public static final String DESC_FAILURE = "error";
	
    public static final String RETURN_TYPE_PAGE = "page";
    public static final String RETURN_TYPE_JSON = "json";
}
